GUI Help > Special > setTreeViewImageList

setTreeViewImageList
setTreeViewImageList handle gadget, handle imageList

Description:
Sets the image list for a treeview to use. After assigning an image list to a treeview you can use its images as icons for the treeview items. A treeview has 2 image lists. The first is for the normal "unselected" images, the second is for images when the item is selected.

Return Value:


Parameters:
gadget Handle of a treeview gadget.
imageList Handle of an image list
index The treeview image list which you wish to set. This is 0 for the default images, 1 for the selected images.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)